/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Factory.DAO;

import Factory.Tables.Category;
import java.util.List;

/**
 *
 * @author Patrick
 */
public abstract class CategoryDAO {
  
    public abstract void addCategory(Category obj);
    public abstract void removeCategory(int categoryID);
    public abstract void UpdateCategory(Category obj);
    public abstract Category getCategoryByName(String categoryName);
    public abstract void UpdateCategoryName(int categoryID,String name);
    public abstract void UpdateCategoryDescription(int categoryID,String description);
    public abstract List<Category> getAllCategories();
    public abstract String getCategoryName(int categoryID);
    public abstract Category getCategoryById(int categoryID);
}
